<template>
  <div class="app">
    <el-config-provider :locale="zhCn">
      <router-view />
    </el-config-provider>
  </div>
</template>
<script setup lang="ts">
import { onMounted } from "vue";
import useSystemStore from "@/store/main/system/system";
import zhCn from "element-plus/dist/locale/zh-cn.mjs";

const systemStore = useSystemStore();

onMounted(() => {
  systemStore.postWebInfo({ key: "WEB_SETTING" });
});
</script>

<style lang="less" scoped></style>
